﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 单一职责原则
{
    public interface IDial
    {
        public void DialPhoneNum(string phoneNum);
    }
    public class Dial: IDial
    {
        public void DialPhoneNum(string phoneNum)
        {
            Console.WriteLine($"给谁{phoneNum}打电话");
        }
    }
}
